{% extends "layout.html" %}
{% from "snipple/macro.html" import navigation with context %}
{% block subtitle %}Settings{% endblock %}
{% block nav %}
  {{ navigation('other') }}
{% endblock %}
{% block main %}
<div class="row">
  <div class="col-md-3"></div>
  <div class="col-md-6">
    <div class="panel panel-default">
      <center><h2>Update Profile</h2></center>
      <form method="POST" class="panel-body">
        {{ form.hidden_tag() }}
        {{ form.username.label }}
        {{ form.username(class='form-control', readonly=true) }}
        {{ form.email.label }}
        {{ form.email(class='form-control') }}
        {{ form.location.label }}
        {{ form.location(class="form-control") }}
        {{ form.website.label }}
        {{ form.website(class="form-control") }}
        {{ form.bio.label }}
        {{ form.bio(class="form-control") }}
        {{ form.twitter.label }}
        {{ form.twitter(class="form-control") }}
        {{ form.weibo.label }}
        {{ form.weibo(class="form-control") }}
        {{ form.github.label }}
        {{ form.github(class="form-control") }}
        {{ form.instagram.label }}
        {{ form.instagram(class="form-control") }}
        {{ form.stackoverflow.label }}
        {{ form.stackoverflow(class="form-control")}}
        {{ form.submit(class='btn btn-default') }}
      </form>
    </div>
  </div>
  <div class="col-md-3"></div>
</div>
{% endblock %}
